package com.dsbj.apolo.facecollector.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 读取config.properties配置文件信息
 *
 * @author Evan
 *
 */
@ConfigurationProperties
@Configuration
public class PropertyUtil {


	private static String webServiceAddress;

	public static String getWebServiceAddress() {
		return webServiceAddress;
	}
	@Value("${webservice.address}")
	public void setWebServiceAddress(String webServiceAddress) {
		PropertyUtil.webServiceAddress = webServiceAddress;
	}

}
